package events;

import simulation.Echeancier;
import simulation.StationState;

public class EndWaitTeleSkiB extends Event{

	@Override
	public String toString() {
		return "Un skieur monte dans le TeleSki B [T="+Echeancier.toHour(date)+"]";
	}

	@Override
	public void treat(Echeancier e) {
		StationState.WB--;
		StationState.B++;
		Event next;
		next = new LeaveTeleSkiBC(0);
		next.date = date+300-10;
		e.ajouter(next);
	}
}
